# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         hmwk01
# Description:
# Author:       ASUS
# Date:         2019/4/6
#-------------------------------------------------------------------------------



'''
编写一个正则表达式，匹配单词bat、Bit、But、hAt、hit、hut
'''


import re
str = 'bat|Bit|But|hAt|hit|hut'
m = re.findall(str,"bat,Bat,bit,Bit,But,but,hat,hAt,hit,hIt,hut,huT")
print(m)